package com.ozo.boot.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ozo.boot.common.database.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 岗位
 *
 * @author qiangesoft
 * @date 2024-11-16 23:43:39
 * @version 1.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_post")
public class SysPost extends BaseEntity {

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 岗位编码
     */
    @TableField("post_code")
    private String postCode;

    /**
     * 岗位名称
     */
    @TableField("post_name")
    private String postName;

    /**
     * 排序号
     */
    @TableField("order_num")
    private Integer orderNum;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 状态：1-启用 2-禁用
     */
    @TableField("status")
    private String status;

}
